<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#menu {
	border: 1px solid #ccc;
	width: 100px;
}
#menu ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
#menu ul li {
	background: #eee;
	padding: 0px 8px;
	height: 26px;
	line-height: 25px;
	border-bottom: 1px solid #ccc;
	position: relative;
}
#menu ul li ul {
	display: none;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px none #ccc;
	border-left: 1px solid #ccc;
	position: absolute;
	left: 100px;
	top: 0px;
	width: 100px;
}
#menu ul li a {
	color: #000;
	text-decoration: none;
}
#menu ul li a:hover { color: #F00; }
#menu ul li:hover ul { display: block; }
body {
	font-family: "微软雅黑";
	font-size: 12px;
	line-height: 1.5;
}
</style>
</head>

<body>
<div id="menu">
  <ul>
    <li><a href="#">首页</a></li>
    <li><a href="#">网页版式布局</a></li>
    <li><a href="#">div+css 布局</a>
      <ul>
        <li><a href="#">自适应宽度</a></li>
        <li><a href="#">固定宽度</a></li>
      </ul>
    </li>
    <li><a href="#">div+css 示例</a>
      <ul>
        <li><a href="#">新手入门</a></li>
        <li><a href="#">视频教程</a></li>
        <li><a href="#">常见问题</a></li>
      </ul>
    </li>
    <li><a href="#">常用代码</a></li>
    <li><a href="#">站长杂谈</a></li>
    <li><a href="#">技术文档</a></li>
    <li><a href="#">下载资源</a></li>
    <li><a href="#">图片素材</a></li>
  </ul>
</div>
</body>
</html>
